// @ts-ignore
import { createRouter, createWebHistory } from "vue-router";
import main from "../views/main.vue"

// 路由信息
let routes = [
    {
        path: "/",
        name: 'home',
        component:main,
    },
];

// 路由器
const router = createRouter({
    history: createWebHistory(), // HTML5模式
    routes,
});

export default router;